package org.jeecg.modules.business.jygl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelVerify;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.Optional;

/**
 * @Description: 交易管理
 * @Author: jeecg-boot
 * @Date:   2023-04-02
 * @Version: V1.0
 */
@Data
@TableName("bu_gsfwpt_jygl")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bu_gsfwpt_jygl对象", description="交易管理")
public class BuGsfwptJygl implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**是否删除*/
	/*@Excel(name = "是否删除", width = 15)*/
    @ApiModelProperty(value = "是否删除")
    private String delFlag;
	/**代征主体*/
	@Excel(name = "代征主体", width = 15)
    @ApiModelProperty(value = "代征主体")
    @ExcelVerify(notNull = true)
    private String dzzt;
	/**企业名称*/
	@Excel(name = "企业名称", width = 15)
    @Dict(dictTable = "v_jygl_qyxx", dicText = "name", dicCode = "code")
    @ApiModelProperty(value = "企业名称")
    @ExcelVerify(notNull = true)
    private String qymc;
	/**代理名称*/
	@Excel(name = "代理名称", width = 15)
    @ApiModelProperty(value = "代理名称")
    @ExcelVerify(notNull = true)
    private String dlmc;
	/**用户姓名*/
	@Excel(name = "用户姓名", width = 15)
    @ApiModelProperty(value = "用户姓名")
    @ExcelVerify(notNull = true)
    private String name;
	/**身份证号*/
	@Excel(name = "身份证号", width = 25)
    @ApiModelProperty(value = "身份证号")
    @ExcelVerify(notNull = true)
    private String sfzh;
	/**结算金额*/
	@Excel(name = "结算金额", width = 15)
    @ApiModelProperty(value = "结算金额")
    @ExcelVerify(notNull = true)
    private String jsje;
	/**所属服务厅*/
	@Excel(name = "所属服务厅", width = 30, dictTable = "bu_gsfwpt_rlzy_jkcxpz", dicText = "fwt", dicCode = "id")
	@Dict(dictTable = "bu_gsfwpt_rlzy_jkcxpz", dicText = "fwt", dicCode = "id")
    @ApiModelProperty(value = "所属服务厅")
    @ExcelVerify(notNull = true)
    private String ssfwt;
	/**税款所属期*/
	@Excel(name = "税款所属期", width = 15, format = "yyyy-MM")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM")
    @DateTimeFormat(pattern="yyyy-MM")
    @ApiModelProperty(value = "税款所属期")
    @ExcelVerify(notNull = true)
    private Date skssq;
	/**是否入网*/
	@Excel(name = "是否入网", width = 15)
    @ApiModelProperty(value = "是否入网")
    private String sfrw;
    /**业务类型*/
    @Excel(name = "业务类型", width = 15, dicCode = "bu_jygl_wslx")
    @Dict(dicCode = "bu_jygl_wslx")
    @ApiModelProperty(value = "业务类型")
    @ExcelVerify(notNull = true)
    private String wslx;

}
